/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-05-26 15:35:46
 * @LastEditTime: 2024-05-26 15:36:55
 * @FilePath: /nest_study/src/common/decorators/perm.decorator.ts
 */
import { SetMetadata } from "@nestjs/common";

/**
 * 接口允许无权限访问
 */
export const ALLOW_NO_PERM = 'allowNoPerm';
export const AllowNoPerm = () => SetMetadata(ALLOW_NO_PERM, true);